<html>
    <head>
        <meta charset="utf-8">
        <meta name="author" content="范珍">
        <title>智游问答-登录</title>
        <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.css">

    </head>
    <body>
        <nav class="navbar navbar-inverse">
            <span class="navbar-brand pull-left" onclick="history.back();">
                <i class="glyphicon glyphicon-chevron-left"></i>
            </span>
            <span style="width:calc(100vw - 50*2px);" class="navbar-brand text-center">登录</span>
            <span class="navbar-brand pull-right" onclick="location.href='./register.html'">
                <i class="glyphicon glyphicon-plus-sign"></i>
            </span>
        </nav>
        <div class="container">
            <form>
                <div class="form-group">
                    <input type="text" class="form-control" required pattern="[\u4e00-\u9fa5]{2,4}" name="petname" placeholder="请输入昵称">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" required pattern="[0-9a-zA-Z]{6,12}" name="password" placeholder="请输入密码">
                </div>
                <button type="submit" class="btn btn-success form-control">注册</button>
            </form>
        </div>

        <!--模态框-->
        <div class="modal fade" tabindex="-1" role="dialog" id="myModal">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">智游教育</h4>
                    </div>
                    <div class="modal-body">
                        <p></p>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">确定</button>
                    </div>
                </div>
            </div>
        </div>
        
        <script src="./lib/bootstrap/js/jquery.js"></script>
        <script src="./lib/bootstrap/js/bootstrap.js"></script>
        <script src="js/login.js"></script>
    </body>
</html>
